package com.zhixi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhixi.mapper.StudentMapper;
import com.zhixi.pojo.Student;
import com.zhixi.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhixi
 * @description 针对表【student】的数据库操作Service实现
 * @createDate 2023-02-01 21:26:15
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student>
        implements StudentService {

    @Autowired
    private StudentMapper studentMapper;


    @Override
    public Student getStudentById(long id) {
        return studentMapper.getStudentById(id);
    }
}


